package cn.iocoder.yudao.module.pickbook.dal.dataobject.checkin;

import lombok.*;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

/**
 * 打卡记录 DO
 *
 * @author 芋道源码
 */
@TableName("pickbook_checkin")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PickbookCheckinDO extends BaseDO {

    /**
     * 打卡记录唯一ID
     */
    @TableId
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 绘本ID
     */
    private Long bookId;
    /**
     * 章节ID
     */
    private Long chapterId;
    /**
     * 班级ID
     */
    private Long classId;
    /**
     * 打卡日期
     */
    private java.time.LocalDate checkinDate;
    /**
     * 阅读时长（分钟）
     */
    private Integer readingTime;
    /**
     * 阅读页数
     */
    private Integer pagesRead;
    /**
     * 阅读笔记
     */
    private String notes;
    /**
     * 状态
     */
    private Integer status;

} 